Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better communication of scenario processing message #181

Merged
merged 2 commits into from
Sep 26, 2024

Conversation

marc-vdm
Copy link
Member

Minor improvement suggestion:

Better messaging to user about sector updates during nbd.update

If 1 sector is chosen (e.g. nbd.update("electricity")), message becomes: Processing scenarios for sector 'electricity'

If multiple sectors are chosen (e.g. nbd.update(["electricity", "fuel"])) message becomes: Processing scenarios for 2 sectors

If all are used (e.g. nbd.update()) message becomes: Processing scenarios for all sectors

By only showing max one name (or the amount), the message doesn't become too long, but user will still have a better idea of what is going on, especially when multiple instances of nbd.update(sector) are used.

@romainsacchi romainsacchi merged commit fa35707 into polca:master Sep 26, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants